<div class="bh-content">
<div class="bh-ly-yw-conter-dianpu">
   <?php $this->renderPartial('application.views.partials.shop.left')?>
    <div class="bh-ly-yw-dianpu-right bh-fr  bh-pj-border">
       <h1 class="bh-ly-yw-shang">留言板</h1>
       <!-- 留言板表单 -->
        <?php $this->widget('lib.ext.data.DataWidget',array(
        	'model' => $model,
        	'data' => array(
        		'provider' => $this->getProvider()
        	),
        	'view' => 'application.views.partials.message.shop_message'
        ));?>
		<div class="bh-padTBLR1">
			<h3>留言列表</h3>
			<ul class="bh-ly-jj-hangyezixun bh-mLtRt30 bh-mtop3">
				<?php foreach ($data->data as $one):?>
				<li class="bh-noborder">
					<span class="bh-fr"><?php echo CHtml::value($one,'create_time')?></span>
					<a href="<?php echo $this->createUrl('view',array('uid'=>$one->worker_id,'id'=>$one->id))?>"><?php echo CHtml::value($one,'title')?></a>
				</li>
				<?php endforeach;?>
			</ul>
		</div>
		<div class="bh-c-shuizi1-c-yy bh-mLeft20 bh-fr">
			<?php $this->widget('LyLinkPager',array(
				'pages' => $data->pagination,
			))?>
		</div>
    </div>
    <div class="bh-clear"></div>
    <!-- 底部的友情链接 -->
    <?php $this->widget('lib.ext.data.DataWidget', array(
    	'model' => 'FriendLink',
    	'view' => 'application.views.partials.aircraft.friendlink',
    ));?>
</div>
</div>